import 'package:flutter/material.dart';

class DetailPage extends StatelessWidget {
  const DetailPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('详情页面')),
      body: TextButton(
        onPressed: () {
          Navigator.pop(context);
        },
        child: Text('返回'),
      ),
    );
  }
}
